From: Niklas Laxström Date: Thu, 16 Aug 2018 06:28:17 +0000 (+0200) Subject: Unbreak Special:JavaScriptTest X-Git-Tag: 1.34.0-rc.0~4414 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=8de5b0624d2d69ef6274b514c61e7ee68930d2d6;p=lhc%2Fweb%2Fwiklou.git Unbreak Special:JavaScriptTest Follow-up to dec8009 Change-Id: I812253cc1a504a8bb876700026dbfd35a727458b --- diff --git a/includes/specials/SpecialJavaScriptTest.php b/includes/specials/SpecialJavaScriptTest.php index f858f5c2cd..87bd2ed0c9 100644 --- a/includes/specials/SpecialJavaScriptTest.php +++ b/includes/specials/SpecialJavaScriptTest.php @@ -142,7 +142,7 @@ class SpecialJavaScriptTest extends SpecialPage { // Things like "dependency missing" or "unknown module". // Re-throw so that they are reported as global exceptions by QUnit and Karma. setTimeout( function () { - throw e; + throw err; } ); } ); JAVASCRIPT